/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2024-09-22
 * Time: 20:53
 */
public class Test {
    public static void main(String[] args) {
/*        SingleList list = new SingleList();
        list.createSingleList();
        list.insertFront(0);
        list.insertTail(6);
        list.delFront();
        list.delTail();
        list.Find(0);*/
        /*SingleList list1 = new SingleList();
        SingleList list2 = new SingleList();
        list1.insertTail(1);
        list1.insertTail(3);
        list1.insertTail(3);
        list1.insertTail(7);
        list1.insertTail(9);
        list2.insertTail(2);
        list2.insertTail(4);
        list2.insertTail(6);
        list2.insertTail(8);
        list2.insertTail(10);
        SingleList.node result = list1.merge(list1.head, list2.head);*/

        SingleList list = new SingleList();
        list.createSingleList();
        list.Joseph(1,3,list.head);
    }
}
